home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 1505 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  958 b 

  1. Path: news.uw.edu.pl!gokieli
  2. From: gokieli@fuw.edu.pl (Ryszard Gokieli)
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: Translate() question
  5. Date: 19 Mar 1996 17:11:46 GMT
  6. Organization: A poorly-installed InterNetNews site
  7. Distribution: inet
  8. Message-ID: <GOKIELI.96Mar19181146@indyk.fuw.edu.pl>
  9. References: <vgGTxgabrIgb090yn@blvl.igs.net>
  10. NNTP-Posting-Host: indyk.fuw.edu.pl
  11. In-reply-to: bnear@blvl.igs.net's message of Sun, 17 Mar 1996 14:29:51 -0500
  12.  
  13. >>>>> "Brian" == Brian Near <bnear@blvl.igs.net> writes:
  14.  
  15. Brian> I need to strip commas from numbers, such as 1,234,567.00 I've
  16. Brian> tried TRANSLATE(), but wind up with 1 234 567.00.  I then have
  17. Brian> to concatenate the results.  I can't seem to specify a null (
  18. Brian> '') as a fill character as the minimum is one space.
  19.  
  20. What about SPACE(TRANSLATE(NumberWithCommas,'',','),0) ? 
  21. It works on IBM/VM, should work everywhere.
  22.  
  23.    Richard Gokieli (gokieli@fuw.edu.pl)
  24.    Institute for Nuclear Studies, Warsaw
  25.